<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:ft="http://primefaces.prime.com.tr/facestrace"
	xmlns:p="http://primefaces.prime.com.tr/ui" template="template.xhtml">

	<ui:define name="head">

	</ui:define>

	<ui:define name="content">
		<h:form>

			<h:inputText id="txtTexto" value="#{principal.texto}" size="20"
				binding="#{principal.txtTextoTag}"
				required="true" label="#{msgs.lblTexto}">
				<f:converter
					converterId="br.com.empresa.web.util.converter.MeuConverter" />
			</h:inputText>
			
		
		

			<h:message for="txtTexto" style="color:red" />
			<h:messages />

			<h:commandButton value="Ação" type="submit"
				action="#{principal.doMetodoAction}" actionListener="#{principal.internoActionListener}">
			</h:commandButton>

			<p:commandButton value="Ação" type="submit"	 actionListener="#{principal.internoActionListener}"
				action="#{principal.doMetodoAction}">
			</p:commandButton>

		</h:form>
	</ui:define>

</ui:composition>